{include file="common/head"/}  
<div class="main">
    <div class="userinfo"> 
        <div class="infos"> 
            <li><span class="name">商户：</span><span class="value">{$seller.username}</span></li>
            <li><span class="name">手机：</span><span class="value">{$seller.mobile}</span></li>  
        </div> 
    </div> 

<div id="homenav">
    <ul> 
        <li><a href="{:url('seller/channel/index')}"><i class="layui-icon">&#xe857;</i> 通道管理</a></li>
        <li><a href="{:url('seller/order/index')}"><i class="layui-icon">&#xe63c;</i> 订单管理</a></li>
        <li><a href="{:url('seller/financial/index')}"><i class="layui-icon">&#xe65e;</i> 财务管理</a></li> 
        <li><a href="{:url('pay/index/index',['appid'=>$seller['appid'],'shopid'=>$seller['id']])}"><i class="icon icon-credit-card"></i> 商户收银台</a></li> 
    </ul>
</div> 
    <div class="home_pan">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-xs12 layui-col-sm4 layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="layui-icon">&#xe63c;</i>订单统计<em class="pull-right">单位：个</em></div>
                    <div class="layui-card-body">
                        <div class="layui-col-xs6"><span class="name">待处理</span><span class="value">{$cdata.order_no}</span></div> 
                        <div class="layui-col-xs6"><span class="name">全部订单</span><span class="value">{$cdata.order_all}</span></div>  
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm4 layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="layui-icon">&#xe65e;</i>财务汇总<em class="pull-right">单位：元</em></div>
                    <div class="layui-card-body">
                        <div class="layui-col-xs6"><span class="name">累计收款</span><span class="value">{$cdata.order_money}</span></div>   
                        <div class="layui-col-xs6"><span class="name">支付手续费</span><span class="value">{$cdata.order_money_pay}</span></div> 
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm4 layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="layui-icon">&#xe857;</i>通道统计<em class="pull-right">单位：个</em></div>
                    <div class="layui-card-body">
                        <div class="layui-col-xs6"><span class="name">激活的通道</span><span class="value">{$cdata.channel_yes}</span></div> 
                        <div class="layui-col-xs6"><span class="name">全部通道</span><span class="value">{$cdata.channel_all}</span></div>    
                    </div>
                </div>
            </div>
        </div>
    </div> 
</div>  
<script src="/static/plugins/layui/layui.js"></script> 
</body>
</html>